Skip to content

Conversation

@PrakashDurlabhji
Copy link

No description provided.

@PrakashDurlabhji
Copy link
Author

@veshu @codeMinter can anyone please review this?

onMouseDown={onMouseDown}
type={type}
tabIndex={0}
aria-label={`${children}`}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aria-label must be a string. Children is a node (can be span/div/etc).

onClick={onClick}
onMouseDown={onMouseDown}
type={type}
tabIndex={0}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again, I don't think it's necessary to force a "translation" of {0} to ="0" when you already know it will be 0. tabIndex="0" should be alright

@sexta13 sexta13 self-assigned this Jul 28, 2019
@PrakashDurlabhji PrakashDurlabhji changed the base branch from develop to qa-accessibility July 29, 2019 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants